package com.sn.author.common.sdk;

import com.sn.author.common.sdk.entity.AbstractResult;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

@Setter
@Getter
@NoArgsConstructor
public abstract class AbstractResponse<T extends AbstractResult> implements Serializable {

    private static final long serialVersionUID = -1029647126543106295L;
    public String code;
    public String url;
    public Boolean success;
    public String message;
    public AbstractResult data;

}
